package nc.itf.mm.mm66.mmc_proxy;

import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  moduleEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public moduleEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.mm.mm66.mmc_proxy.module");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.mm.mm66.mmc_proxy.module");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.mm.mm66.mmc_proxy.module");			
		return thisService;
	}
	public void confirm(nc.vo.mo.mo6600.GlBillVO  arg0) throws Exception{
		
		((nc.itf.mm.scm.mm6600.IMo6600 )getService()).confirm(arg0);
		
	}
	public nc.vo.mo.mo6600.GlBillVO saveBill(nc.vo.mo.mo6600.GlBillVO  arg0) throws Exception{
		
		return ((nc.itf.mm.scm.mm6600.IMo6600 )getService()).saveBill(arg0);		
	}
	public void Writeback(nc.vo.ic.pub.bill.GeneralBillVO  arg0) throws Exception{
		
		((nc.itf.mm.scm.mm6600.IMo6600 )getService()).Writeback(arg0);
		
	}
}
	